ACFWF\Models\Editor_Blocks A

Total Complexity 63
Dependencies 7
Dependents 1
Total lines 664
Lines of code 325
Logical lines of code 118
Comment lines 261
Methods 22
Properties 3

Methods 22

Method Rating Maintainability Complexity Lines of code
sort_coupons_list_by_expiry()
A
55 10 20
_sanitize_parse_atts()
A
53 9 22
_format_attributes_from_shortcode()
S
61 7 11
render_coupons_by_category_block()
S
46 5 40
render_single_coupon_block()
S
58 4 13
_append_sort_arguments_for_query()
S
56 3 17
load_coupons_list_template()
S
53 2 24
_register_blocks()
S
49 1 36
_get_single_coupon_atts()
S
59 2 16
_get_coupons_by_category_atts()
S
61 2 14
_get_coupons_by_customer_atts()
S
61 2 13
register_acfw_block_category()
S
63 2 11
_get_shared_atts()
S
59 1 17
_get_layout_atts()
S
60 1 16
_get_coupons_from_queried_ids()
S
65 2 9
render_coupons_by_customer_block()
S
69 2 6
get_instance()
S
70 2 6
run()
S
63 2 10
initialize()
S
82 1 3
__construct()
S
71 1 6
_get_attributes_default_values()
S
66 1 9
_get_coupon_display_data()
S
71 1 6